package net.sky.oa.dao.system.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import net.sky.oa.dao.SkyBaseDaoImpl;
import net.sky.oa.dao.system.SysOperatelogDao;
import net.sky.oa.model.SysOperatelog;

@SuppressWarnings("unchecked")
@Repository
public class SysOperatelogDaoImpl extends SkyBaseDaoImpl<SysOperatelog> implements SysOperatelogDao {
	public SysOperatelogDaoImpl() {
		super.setPersistType(SysOperatelog.class);
	}

	public List<SysOperatelog> findAllOperatelog() {
		String hql = "from SysOperatelog s";
		return findByHql(hql);
	}
}